Skip to content

Conversation

@Lms24
Copy link
Member

@Lms24 Lms24 commented Aug 22, 2022

This PR marks the first step towards getting source maps and release creation/finalization working. It adds Sentry-CLI as a dependency, as well as a facade object for the necessary steps (see explanation below).

While we want to get rid of depending on Sentry CLI eventually, I decided to use it for now to get our MVP out faster. To replace Sentry CLI functionality easily with our "native" functionality later, I created a facade to abstract the implementation of the necessary steps from what we call in the "front end" of our plugin. We can replace each CLI command step by step with our own implementation later on.

Furthermore, I added a few fields to Options+ a bunch of commented out ones from the webpack plugin and I moved the type definition to a new types.ts file

Next up: Implement CLI calls to:

  • create a release
  • upload sourcemaps
  • finalize release

There are more CLI calls in the webpack plugin (clear artifacts, set commits, add deploy) but we don't necessarily have to add them to the MVP.

@Lms24 Lms24 force-pushed the lms-upload-sourcemaps branch from 7c5da41 to 4956ee5 Compare August 22, 2022 13:32
Copy link
Contributor

@vladanpaunovic vladanpaunovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 for the idea of getting rid of sentry-cli later on

While it is hard to make a call on this PR as it seems like a WIP, I like the direction it is going so ✅ from me

@Lms24 Lms24 merged commit d14fc3c into main Aug 22, 2022
@Lms24 Lms24 deleted the lms-upload-sourcemaps branch August 22, 2022 14:28
@Lms24 Lms24 mentioned this pull request Aug 22, 2022
29 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants